import './assets/main.css'

import {createApp} from 'vue'
import {createPinia} from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(ElementPlus)
app.use(router)

app.mount('#app')

/*
// 生成密钥对
const crypt = new JSEncrypt({default_key_size: 1024})
const publicKey = crypt.getPublicKey()
const privateKey = crypt.getPrivateKey()
// 将公钥发送给后端，后端需要保存这个公钥
 */
